<script type="text/javascript">
	$(document).ready(function(){
		$.validator.messages.required = "";
		$.validator.messages.date = "";
		$("#FormSuaChuDe").validate();
	});
</script>

<?php
	$MaChuDe = $_GET['id'];
	$chude = new chudebs();
	$chude->MaChuDe = $MaChuDe;
	$danhsach = $chude->GetList();
?>
<h3>Sửa chủ đề</h3>
<form id = "FormSuaChuDe" action="index.php?do=chude_sua_xuly" method="post">
	<table class="Form">
		
		<input type="hidden" value="<?php echo $danhsach[0]['MaChuDe']; ?>" name="MaChuDe" />
		
		<tr>
			<td>Tên chủ đề:</td>
			<td><input type="text" value="<?php echo $danhsach[0]['TenChuDe']; ?>" name="TenChuDe" class = "required"/></td>
		</tr>
	</table>
	
	<input type="submit" value="Cập nhật" /><br/>
	<a href = "chude">Danh sách</a>
</form>